package com.yicong.ants.bean.order;

/**
 * 游客二维码
 *
 * @author cch
 * @version 2020/5/3
 */
public class VisitorTicketBean {
    String name;
    String mobile;
    String id_number;
    String ticket_type;
    String ticket_code;
    String ticket_code_url;

    public VisitorTicketBean() {
    }

    public String getName() {
        return this.name;
    }

    public String getMobile() {
        return this.mobile;
    }

    public String getId_number() {
        return this.id_number;
    }

    public String getTicket_type() {
        return this.ticket_type;
    }

    public String getTicket_code() {
        return this.ticket_code;
    }

    public String getTicket_code_url() {
        return this.ticket_code_url;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setId_number(String id_number) {
        this.id_number = id_number;
    }

    public void setTicket_type(String ticket_type) {
        this.ticket_type = ticket_type;
    }

    public void setTicket_code(String ticket_code) {
        this.ticket_code = ticket_code;
    }

    public void setTicket_code_url(String ticket_code_url) {
        this.ticket_code_url = ticket_code_url;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof VisitorTicketBean)) return false;
        final VisitorTicketBean other = (VisitorTicketBean) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        final Object this$mobile = this.getMobile();
        final Object other$mobile = other.getMobile();
        if (this$mobile == null ? other$mobile != null : !this$mobile.equals(other$mobile))
            return false;
        final Object this$id_number = this.getId_number();
        final Object other$id_number = other.getId_number();
        if (this$id_number == null ? other$id_number != null : !this$id_number.equals(other$id_number))
            return false;
        final Object this$ticket_type = this.getTicket_type();
        final Object other$ticket_type = other.getTicket_type();
        if (this$ticket_type == null ? other$ticket_type != null : !this$ticket_type.equals(other$ticket_type))
            return false;
        final Object this$ticket_code = this.getTicket_code();
        final Object other$ticket_code = other.getTicket_code();
        if (this$ticket_code == null ? other$ticket_code != null : !this$ticket_code.equals(other$ticket_code))
            return false;
        final Object this$ticket_code_url = this.getTicket_code_url();
        final Object other$ticket_code_url = other.getTicket_code_url();
        if (this$ticket_code_url == null ? other$ticket_code_url != null : !this$ticket_code_url.equals(other$ticket_code_url))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof VisitorTicketBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final Object $mobile = this.getMobile();
        result = result * PRIME + ($mobile == null ? 43 : $mobile.hashCode());
        final Object $id_number = this.getId_number();
        result = result * PRIME + ($id_number == null ? 43 : $id_number.hashCode());
        final Object $ticket_type = this.getTicket_type();
        result = result * PRIME + ($ticket_type == null ? 43 : $ticket_type.hashCode());
        final Object $ticket_code = this.getTicket_code();
        result = result * PRIME + ($ticket_code == null ? 43 : $ticket_code.hashCode());
        final Object $ticket_code_url = this.getTicket_code_url();
        result = result * PRIME + ($ticket_code_url == null ? 43 : $ticket_code_url.hashCode());
        return result;
    }

    public String toString() {
        return "VisitorTicketBean(name=" + this.getName() + ", mobile=" + this.getMobile() + ", id_number=" + this.getId_number() + ", ticket_type=" + this.getTicket_type() + ", ticket_code=" + this.getTicket_code() + ", ticket_code_url=" + this.getTicket_code_url() + ")";
    }
}
